﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.DataAdapter;
using Sealight.Core.Common;
namespace Sealight.CoreAPI
{
   public interface ITopicService
    {
       topic AddOrUpdate(topic data);

       topic GetById(Guid id);

       void Delete(topic data);

       IList<topic> GetAll();

       language GetLanguageById(Guid id);

       topic_localized SaveOrUpdateTopicLocalized(topic_localized data);

       topic_localized GetTopicLocalizedById(Guid id);

       topic_localized GetTopicLocalized(Guid topicId, Guid languageId);

       void DeletePicture(picture data);
       picture GetPictureById(Guid id);
       picture SaveOrUpdatePicture(picture data);
       IList<picture> GetPicture();
       IList<menu> GetListMenu(MenuSource source, Guid languageId);
    }
}
